import request from "../utils/request";

export function loginRequest(url, data = {}) {
  return request({
    url,
    method: 'post',
    data
  })
}

export function getUesrRequest(url, params = {}) {
  return request.get(url, {
    params
  })
}